package com.woniu.cms.goods.core.mapper;

import com.woniu.cms.goods.core.entity.GoodsSummary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 单项工程月份材料汇总表 Mapper 接口
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-20
 */
public interface GoodsSummaryMapper extends BaseMapper<GoodsSummary> {

    List<GoodsSummary> countSummary(@Param("constructTeam") String constructTeam,
                                    @Param("beginDate") Date beginDate,
                                    @Param("endDate") Date endDate,
                                    @Param("materialType") Integer materialType);
    List<GoodsSummary> getBeginMoney(@Param("constructTeam") String constructTeam,
                                     @Param("beginDate") Date beginDate,
                                     @Param("materialType") Integer materialType);
}
